STEP 5: Let’s control our sprite by adding some actions and assigning them to the sprite!
We can use a sprite's variable name to assign actions to a sprite. This is called dot notation.
- Go to and drag out Move Forward. Drop it at the bottom of your program.
- Change the name in front of .move_forward() from sprite to the sprite's variable name, astro.
- Change the integer argument in .move_forward() from 50 to 150.
To navigate the page using the TAB key, first press ESC to exit the code editor.